package com.it.conformity.testdemo.service;

import com.it.conformity.testdemo.pojo.SysUser;
import org.springframework.stereotype.Component;

/**
 * @Author: 王文龙
 * @Date: 2020/6/1119:28
 * @Version: 1.0
 * @Describe: 描述:
 */
@Component
public interface SysUserService {

    /**
     * 新增
     * @param sysUser 用户实体类
     * @return true/false
     */
    boolean insert(SysUser sysUser);

    /**
     * id查询
     * @param id 主键
     * @return SysUser
     */
    SysUser findById(Integer id);
}
